mm: introduce INVALID_{G,M}FN_RAW
authorJan Beulich <jbeulich@suse.com>
Tue, 21 Dec 2021 09:42:02 +0000 (10:42 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 21 Dec 2021 09:42:02 +0000 (10:42 +0100)
commitf1e268b9fd13647e1f69c8ce0ae7be401d319fc8
tree2bdce33ffd55c7e4c63453f9d35af4c99ccb8651
parentfa2f4c39c48f975ae1b87247fa2f71673e2838ca
mm: introduce INVALID_{G,M}FN_RAW

This allows properly tying together INVALID_{G,M}FN and
INVALID_{G,M}FN_INITIALIZER as well as using the actual values in
compile time constant expressions (or even preprocessor directives).

Since INVALID_PFN is unused, and with x86'es paging_mark_pfn_dirty()
being the only user of pfn_t it also doesn't seem likely that new uses
would appear, remove that one at this same occasion.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
xen/include/xen/mm-frame.h